package RMISnake;

import java.rmi.RemoteException;

public interface SnakeServer extends java.rmi.Remote {
	public int addSnakeListener(CallBack c, String userName)
			throws RemoteException;

	public void removeSnakeListener(String userName, String reason)
			throws RemoteException;

	public void sendSnakeMessage(String sender, String message)
			throws RemoteException;

	public void startDraw(CallBack cl) throws RemoteException;

	public void sendSnakeEvent(int start, String userName, String msg)
			throws RemoteException;
}
